Integrand size = 49, antiderivative size = 898 \[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {(5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{2 f h^2 \sqrt {c+d x}}+\frac {b \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{h}-\frac {\sqrt {d g-c h} \sqrt {f g-e h} (5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{2 d f h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {(b e-a f) \sqrt {b g-a h} (3 a d f h+b (c f h-d (3 f g+e h))) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{2 b f h^2 \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}-\frac {\sqrt {-d g+c h} \left (6 a b d^2 f^2 g h-3 a^2 d^2 f^2 h^2+b^2 \left (2 c d e f h^2-c^2 f^2 h^2-d^2 \left (3 f^2 g^2+e^2 h^2\right )\right )\right ) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \operatorname {EllipticPi}\left (-\frac {b (d g-c h)}{(b c-a d) h},\arcsin \left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right ),\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{2 b d \sqrt {b c-a d} f h^3 \sqrt {c+d x} \sqrt {e+f x}} \]
[Out]
Time = 1.72 (sec) , antiderivative size = 897, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.204, Rules used = {1611, 1614, 1616, 1612, 176, 430, 171, 551, 182, 435} \[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x} b}{h}-\frac {\sqrt {d g-c h} \sqrt {f g-e h} (5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{2 d f h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {(5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{2 f h^2 \sqrt {c+d x}}-\frac {(b e-a f) \sqrt {b g-a h} (b c f h+3 a d f h-b d (3 f g+e h)) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{2 f h^2 \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}} b}-\frac {\sqrt {c h-d g} \left (\left (-\left (\left (3 f^2 g^2+e^2 h^2\right ) d^2\right )+2 c e f h^2 d-c^2 f^2 h^2\right ) b^2+6 a d^2 f^2 g h b-3 a^2 d^2 f^2 h^2\right ) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \operatorname {EllipticPi}\left (-\frac {b (d g-c h)}{(b c-a d) h},\arcsin \left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {c h-d g} \sqrt {a+b x}}\right ),\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{2 d \sqrt {b c-a d} f h^3 \sqrt {c+d x} \sqrt {e+f x} b} \]
[In]
[Out]
Rule 171
Rule 176
Rule 182
Rule 430
Rule 435
Rule 551
Rule 1611
Rule 1612
Rule 1614
Rule 1616
Rubi steps \begin{align*} \text {integral}& = \frac {\int \frac {\sqrt {a+b x} \left (6 a d f (d e+c f) h+6 d f (b d e+b c f+2 a d f) h x+12 b d^2 f^2 h x^2\right )}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{6 d f h} \\ & = \frac {b \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{h}+\frac {\int \frac {12 d^2 f^2 h \left (2 a^2 (d e+c f) h-b (b c e g+a (d e g+c f g+c e h))\right )+24 d^2 f^2 h \left (2 a^2 d f h-b^2 (d e g+c f g+c e h)-a b (d f g-d e h-c f h)\right ) x+12 b d^2 f^2 h (5 a d f h-b (3 d f g+d e h+c f h)) x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{24 d^2 f^2 h^2} \\ & = \frac {(5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{2 f h^2 \sqrt {c+d x}}+\frac {b \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{h}+\frac {\int \frac {12 b d^2 f^2 h \left (a^2 d f (4 d e-c f) h^2+b^2 d e g (3 d f g+d e h-c f h)-a b f h \left (7 d^2 e g-c^2 f h-c d (f g-e h)\right )\right )-12 b d^2 f^2 h \left (6 a b d^2 f^2 g h-3 a^2 d^2 f^2 h^2+b^2 \left (2 c d e f h^2-c^2 f^2 h^2-d^2 \left (3 f^2 g^2+e^2 h^2\right )\right )\right ) x}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{48 b d^3 f^3 h^3}+\frac {((d e-c f) (d g-c h) (5 a d f h-b (3 d f g+d e h+c f h))) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{4 d f h^2} \\ & = \frac {(5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{2 f h^2 \sqrt {c+d x}}+\frac {b \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{h}-\frac {1}{4} \left (-\frac {3 a^2 d f}{b}+b \left (2 c e-\frac {d e^2}{f}-\frac {c^2 f}{d}-\frac {3 d f g^2}{h^2}\right )+\frac {6 a d f g}{h}\right ) \int \frac {\sqrt {a+b x}}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx-\frac {((b e-a f) (b g-a h) (b c f h+3 a d f h-b d (3 f g+e h))) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{4 b f h^2}-\frac {\left ((d g-c h) (5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {\frac {(-d e+c f) (g+h x)}{(f g-e h) (c+d x)}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {(-b c+a d) x^2}{b e-a f}}}{\sqrt {1-\frac {(d g-c h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {c+d x}}\right )}{2 d f h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}} \\ & = \frac {(5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{2 f h^2 \sqrt {c+d x}}+\frac {b \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{h}-\frac {\sqrt {d g-c h} \sqrt {f g-e h} (5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{2 d f h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {\left (\left (-\frac {3 a^2 d f}{b}+b \left (2 c e-\frac {d e^2}{f}-\frac {c^2 f}{d}-\frac {3 d f g^2}{h^2}\right )+\frac {6 a d f g}{h}\right ) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}\right ) \text {Subst}\left (\int \frac {1}{\left (h-b x^2\right ) \sqrt {1+\frac {(b c-a d) x^2}{d g-c h}} \sqrt {1+\frac {(b e-a f) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {g+h x}}{\sqrt {a+b x}}\right )}{2 \sqrt {c+d x} \sqrt {e+f x}}-\frac {\left ((b e-a f) (b g-a h) (b c f h+3 a d f h-b d (3 f g+e h)) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {(b c-a d) x^2}{d e-c f}} \sqrt {1-\frac {(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {a+b x}}\right )}{2 b f h^2 (f g-e h) \sqrt {c+d x} \sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}} \\ & = \frac {(5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{2 f h^2 \sqrt {c+d x}}+\frac {b \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{h}-\frac {\sqrt {d g-c h} \sqrt {f g-e h} (5 a d f h-b (3 d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{2 d f h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {(b e-a f) \sqrt {b g-a h} (b c f h+3 a d f h-b d (3 f g+e h)) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{2 b f h^2 \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {\left (\frac {3 a^2 d f}{b}-b \left (2 c e-\frac {d e^2}{f}-\frac {c^2 f}{d}-\frac {3 d f g^2}{h^2}\right )-\frac {6 a d f g}{h}\right ) \sqrt {-d g+c h} (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{2 \sqrt {b c-a d} h \sqrt {c+d x} \sqrt {e+f x}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(15131\) vs. \(2(898)=1796\).
Time = 35.44 (sec) , antiderivative size = 15131, normalized size of antiderivative = 16.85 \[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Result too large to show} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(1808\) vs. \(2(817)=1634\).
Time = 5.17 (sec) , antiderivative size = 1809, normalized size of antiderivative = 2.01
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(1809\) |
default | \(\text {Expression too large to display}\) | \(35482\) |
[In]
[Out]
Timed out. \[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {\left (a + b x\right )^{\frac {3}{2}} \left (c f + d e + 2 d f x\right )}{\sqrt {c + d x} \sqrt {e + f x} \sqrt {g + h x}}\, dx \]
[In]
[Out]
\[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {{\left (2 \, d f x + d e + c f\right )} {\left (b x + a\right )}^{\frac {3}{2}}}{\sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]
[In]
[Out]
\[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {{\left (2 \, d f x + d e + c f\right )} {\left (b x + a\right )}^{\frac {3}{2}}}{\sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(a+b x)^{3/2} (d e+c f+2 d f x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {{\left (a+b\,x\right )}^{3/2}\,\left (c\,f+d\,e+2\,d\,f\,x\right )}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,\sqrt {c+d\,x}} \,d x \]
[In]
[Out]